#include"SeqList.h"

Test1()
{
	SL s;
	SLInit(&s);

	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPushBack(&s, 5);

	SLPushFront(&s, 10);
	SLPushFront(&s, 20);
	SLPushFront(&s, 30);
	SLPushFront(&s, 40);

	SLPopBack(&s);
	SLPopFront(&s);

	SLInsert(&s, 4, 100);

	SLErase(&s, 5);

	SLPrint(&s);

	SLDestroy(&s);
}
int main()
{
	Test1();
	return 0;
}